package com.mew.slots.core.game.klxg.message;

import com.mew.slots.core.common.messge.response.SlotsPlayResponseMessage;
import io.netty.buffer.ByteBuf;
import lombok.Data;
import lombok.ToString;

/**
 * @author dylin
 */
@Data
@ToString(callSuper = true)
public class KlxgResponseMessage extends SlotsPlayResponseMessage {
    public int freeCount;//免费中免费
    public int change;//是否消除
    public int[] lock;//锁定
    @Override
    public void write(ByteBuf b) {
        super.write(b);
        writeInt(b,freeCount);
        writeInt(b,change);
        writeIntArray(b,lock);
    }

    @Override
    public KlxgResponseMessage read(ByteBuf byteBuf) {
        return null;
    }
}
